package com.qixiucoding.MImplement;

import com.qixiucoding.MInterface.MYAnn;
import com.qixiucoding.MInterface.MyTest;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @Author longhj
 * @Description TODO
 * @Date 2021/10/04 星期一 10:58
 */
@Component
@Scope(value = "prototype")
@MYAnn(value = "aaaaaaaaaaaaa")
public class MAmy implements MyTest {
    @Override
    public void speak() {
        System.out.println("我是Amy");
    }
}
